# -*- coding: utf-8 -*-
import scrapy


class LushiSpider(scrapy.Spider):
    name = 'lushi'
    allowed_domains = ['ha.12348.gov.cn']
    start_urls = ['http://ha.12348.gov.cn/lawyer/getLawyerList?areacode=&inputName=&page=3&pageSize=9&type=1&zyjg=']

    def parse(self, response):
        with open('temp.html','wb') as f:
            f.write(response.body)



